package com.ym.b2b.product.sqlbean;

import java.util.Date;
import java.util.List;

import com.ym.b2b.commons.base.Entity;
import com.ym.b2b.commons.conf.WebTokenUser;

public class EmBProduct extends Entity {

    private static final long serialVersionUID = 6108770545815701241L;
    private String            cacheKey;                               // 缓存key
    private String            searchFlag       = "";                  // 查询方式
    private Long              productId;
    private String            productCode;
    private String            providerCode;
    private String            providerName;
    private String            productName;
    private String            chsName;
    private String            engName;
    private String            alias;
    private String            spell;
    private String            producingArea;
    private String            barcode;
    private String            productTypeName;
    private String            productTypeCode;
    private String            medicamentName;
    private String            packingUnit;

    private Long              packingAmount;
    private String            buyProperty;

    private String            authorizeNumber;
    private String            validMonth;
    private Double            factoryPrice;                           // 出厂价
    private Double            salePrice;                              // 销售价
    private Double            fullSalePrice;                          // 整件价
    private Double            retailPrice;                            // 零售价
    private String            medicalInsuranceCode;                   // 医保编号

    private Double            totalTrading;                           // 历史成交数量
    private Integer           browseQuantity;                         // 历史浏览数

    private String            brand;                                  // 品牌名称
    private String            qualityBy;                              // 质量标准
    private String            storeCondition;                         // 存储条件
    private String            purpose;                                // 用途、适应症
    private Long              unitVol;                                // 体积
    private Integer           isNew;                                  // 是否新品
    private String            otcType;                                // OTC分类
    private Integer           isPromo;
    private Integer           isGmp;
    private String            gmpCode;
    private Integer           approveStatus;						 // 是否审核通过 0否 10 是
    private String            approveDate;
    private String            createUser;
    private Date              createDate;
    private String            updateUser;
    private Date              updateDate;
    private String            productSpec;                            // 规格
    private String            smallPic;
    private String            bigPic;
    private String            middlePic;
    private String            producingName;
    private String            examReson;
    private Integer           isIndex;
    private Integer           isComment;
    private Integer           isTop;
    private Integer           isScroll;								 // 是否滚动显示  1是 0否
    private Integer           isCommend;
    private String            viewPrice;                              // 显示价格
    private String            businesscope;
    private Long              brandId;

    private String            medicalLicense;                         // 医疗器械许可证号
    private Double            shopPrice;
    private Double            arrearsPrice;                           // 欠款价格
    private Double            cashPrice;                              // 现金价格
    private Double            stockNum;                               // 库存数量
    private Integer           sortOrder;                              // 排序值
    private Double            minBuy;                                 // 最小购买数
    private Integer           isControlSale;                          // 是否控制销售
    private Double            controlSalePrice;                       // 控销价

    private Double            tenSalePrice;                           //终端价
    private Double            chnSalePrice;                           //连锁价
    private Double            trfSalePrice;                           //调拨价


    // other
    private Double            amount;                                 // 假设为 购物车数量
    private String            promoDesc;
    private String            promoUrl;

    private Integer           isSale;                                 // 无用上架

    private Integer           isMhj;                                  // 是否麻黄碱

    private Long              minPackingNumber;                       // 小包装数 ==middlePackageNum
    private Integer           largePackageNum;                        // 大包装数 ==packingAmount
    private Integer           middlePackageNum;                       // 中包装数 =minPackingNumber

    private Double            middlePackPrice;                        // 中包价
    private String            nowPriceStr;                            // 当前享受的价格

    /*********** 查询条件 **********/
    private WebTokenUser      user;                                   // 登陆账户信息 如果登陆的话
    private String            orderByType;                            // 搜索条件 根据什么排序
    private String            buyerCode;                              // 供应商编号
    private Integer           limitRow;
    private Integer           viewsHasStockNum;                       // 只显示有库存
    private String            startPrice;
    private String            endPrice;
    private Integer           IsFavorite;                             // 是否在我的收藏里

    private String            searchWhere;
    private String            productNameOrProducingName;
    private String            productSearchCode;
    private String            viewUrl;                                // 3d 查看路径
    private List<EmBProduct>  list;										//	批量操作时需要

    private String			  isXX;										// 宣城限销策略
    private String			  denglrq;									//	宣城首营日期
    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getMiddlePic() {
        return middlePic;
    }

    public void setMiddlePic(String middlePic) {
        this.middlePic = middlePic;
    }

    public String getProviderCode() {
        return providerCode;
    }

    public void setProviderCode(String providerCode) {
        this.providerCode = providerCode;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public String getEngName() {
        return engName;
    }

    public String getChsName() {
        return chsName;
    }

    public void setChsName(String chsName) {
        this.chsName = chsName;
    }

    public void setEngName(String engName) {
        this.engName = engName;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getSpell() {
        return spell;
    }

    public void setSpell(String spell) {
        this.spell = spell;
    }

    public String getProducingArea() {
        return producingArea;
    }

    public void setProducingArea(String producingArea) {
        this.producingArea = producingArea;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public Integer getLimitRow() {
        return limitRow;
    }

    public void setLimitRow(Integer limitRow) {
        this.limitRow = limitRow;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public String getProductTypeCode() {
        return productTypeCode;
    }

    public void setProductTypeCode(String productTypeCode) {
        this.productTypeCode = productTypeCode;
    }

    public List<EmBProduct> getList() {
        return list;
    }

    public void setList(List<EmBProduct> list) {
        this.list = list;
    }

    public String getMedicamentName() {
        return medicamentName;
    }

    public void setMedicamentName(String medicamentName) {
        this.medicamentName = medicamentName;
    }

    public String getPackingUnit() {
        return packingUnit;
    }

    public void setPackingUnit(String packingUnit) {
        this.packingUnit = packingUnit;
    }

    public Long getPackingAmount() {
        return packingAmount;
    }

    public void setPackingAmount(Long packingAmount) {
        this.packingAmount = packingAmount;
    }

    public String getBuyProperty() {
        return buyProperty;
    }

    public void setBuyProperty(String buyProperty) {
        this.buyProperty = buyProperty;
    }

    public Long getMinPackingNumber() {
        return minPackingNumber;
    }

    public void setMinPackingNumber(Long minPackingNumber) {
        this.minPackingNumber = minPackingNumber;
    }

    public String getAuthorizeNumber() {
        return authorizeNumber;
    }

    public void setAuthorizeNumber(String authorizeNumber) {
        this.authorizeNumber = authorizeNumber;
    }

    public Double getFactoryPrice() {
        return factoryPrice;
    }

    public void setFactoryPrice(Double factoryPrice) {
        this.factoryPrice = factoryPrice;
    }

    public Double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Double salePrice) {
        this.salePrice = salePrice;
    }

    public Double getFullSalePrice() {
        return fullSalePrice;
    }

    public void setFullSalePrice(Double fullSalePrice) {
        this.fullSalePrice = fullSalePrice;
    }

    public Double getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(Double retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getMedicalInsuranceCode() {
        return medicalInsuranceCode;
    }

    public void setMedicalInsuranceCode(String medicalInsuranceCode) {
        this.medicalInsuranceCode = medicalInsuranceCode;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getQualityBy() {
        return qualityBy;
    }

    public void setQualityBy(String qualityBy) {
        this.qualityBy = qualityBy;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Long getUnitVol() {
        return unitVol;
    }

    public void setUnitVol(Long unitVol) {
        this.unitVol = unitVol;
    }

    public Integer getIsNew() {
        return isNew;
    }

    public void setIsNew(Integer isNew) {
        this.isNew = isNew;
    }

    public String getOtcType() {
        return otcType;
    }

    public void setOtcType(String otcType) {
        this.otcType = otcType;
    }

    public Integer getIsGmp() {
        return isGmp;
    }

    public void setIsGmp(Integer isGmp) {
        this.isGmp = isGmp;
    }

    public String getGmpCode() {
        return gmpCode;
    }

    public void setGmpCode(String gmpCode) {
        this.gmpCode = gmpCode;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

	public String getApproveDate() {
		return approveDate;
	}

	public void setApproveDate(String approveDate) {
		this.approveDate = approveDate;
	}

	public Date getCreateDate() {
        return createDate;
    }

    public String getStoreCondition() {
        return storeCondition;
    }

    public void setStoreCondition(String storeCondition) {
        this.storeCondition = storeCondition;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getProductSpec() {
        return productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public String getSmallPic() {
        return smallPic;
    }

    public void setSmallPic(String smallPic) {
        this.smallPic = smallPic;
    }

    public String getBigPic() {
        return bigPic;
    }

    public void setBigPic(String bigPic) {
        this.bigPic = bigPic;
    }

    public String getProducingName() {
        return producingName;
    }

    public void setProducingName(String producingName) {
        this.producingName = producingName;
    }

    public String getExamReson() {
        return examReson;
    }

    public void setExamReson(String examReson) {
        this.examReson = examReson;
    }

    public Integer getIsIndex() {
        return isIndex;
    }

    public void setIsIndex(Integer isIndex) {
        this.isIndex = isIndex;
    }

    public Integer getIsComment() {
        return isComment;
    }

    public void setIsComment(Integer isComment) {
        this.isComment = isComment;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public Integer getIsScroll() {
        return isScroll;
    }

    public void setIsScroll(Integer isScroll) {
        this.isScroll = isScroll;
    }

    public Integer getIsCommend() {
        return isCommend;
    }

    public void setIsCommend(Integer isCommend) {
        this.isCommend = isCommend;
    }

    public String getBusinesscope() {
        return businesscope;
    }

    public void setBusinesscope(String businesscope) {
        this.businesscope = businesscope;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getMedicalLicense() {
        return medicalLicense;
    }

    public void setMedicalLicense(String medicalLicense) {
        this.medicalLicense = medicalLicense;
    }

    public Double getArrearsPrice() {
        return arrearsPrice;
    }

    public void setArrearsPrice(Double arrearsPrice) {
        this.arrearsPrice = arrearsPrice;
    }

    public Double getCashPrice() {
        return cashPrice;
    }

    public void setCashPrice(Double cashPrice) {
        this.cashPrice = cashPrice;
    }

    public Double getStockNum() {
        return stockNum;
    }

    public void setStockNum(Double stockNum) {
        this.stockNum = stockNum;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Double getMinBuy() {
        return minBuy;
    }

    public void setMinBuy(Double minBuy) {
        this.minBuy = minBuy;
    }

    public Integer getIsControlSale() {
        return isControlSale;
    }

    public void setIsControlSale(Integer isControlSale) {
        this.isControlSale = isControlSale;
    }

    public Double getControlSalePrice() {
        return controlSalePrice;
    }

    public void setControlSalePrice(Double controlSalePrice) {
        this.controlSalePrice = controlSalePrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(String startPrice) {
        this.startPrice = startPrice;
    }

    public String getEndPrice() {
        return endPrice;
    }

    public void setEndPrice(String endPrice) {
        this.endPrice = endPrice;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getPromoDesc() {
        return promoDesc;
    }

    public void setPromoDesc(String promoDesc) {
        this.promoDesc = promoDesc;
    }

    public String getPromoUrl() {
        return promoUrl;
    }

    public void setPromoUrl(String promoUrl) {
        this.promoUrl = promoUrl;
    }

    @Override
    public String getSearchWhere() {
        return searchWhere;
    }

    @Override
    public void setSearchWhere(String searchWhere) {
        this.searchWhere = searchWhere;
    }

    public String getProductNameOrProducingName() {
        return productNameOrProducingName;
    }

    public void setProductNameOrProducingName(String productNameOrProducingName) {
        this.productNameOrProducingName = productNameOrProducingName;
    }

    public String getProductSearchCode() {
        return productSearchCode;
    }

    public void setProductSearchCode(String productSearchCode) {
        this.productSearchCode = productSearchCode;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public void setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
    }

    public Integer getLargePackageNum() {
        return largePackageNum;
    }

    public void setLargePackageNum(Integer largePackageNum) {
        this.largePackageNum = largePackageNum;
    }

    public Integer getMiddlePackageNum() {
        return middlePackageNum;
    }

    public void setMiddlePackageNum(Integer middlePackageNum) {
        this.middlePackageNum = middlePackageNum;
    }

    public String getNowPriceStr() {
        return nowPriceStr;
    }

    public void setNowPriceStr(String nowPriceStr) {
        this.nowPriceStr = nowPriceStr;
    }

    public Double getMiddlePackPrice() {
        return middlePackPrice;
    }

    public void setMiddlePackPrice(Double middlePackPrice) {
        this.middlePackPrice = middlePackPrice;
    }

    public String getOrderByType() {
        return orderByType;
    }

    public WebTokenUser getUser() {
        return user;
    }

    public void setUser(WebTokenUser user) {
        this.user = user;
    }

    public void setOrderByType(String orderByType) {
        this.orderByType = orderByType;
    }

    public Double getTotalTrading() {
        return totalTrading;
    }

    public void setTotalTrading(Double totalTrading) {
        this.totalTrading = totalTrading;
    }

    public Integer getBrowseQuantity() {
        return browseQuantity;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public void setBrowseQuantity(Integer browseQuantity) {
        this.browseQuantity = browseQuantity;
    }

    public Integer getViewsHasStockNum() {
        return viewsHasStockNum;
    }

    public void setViewsHasStockNum(Integer viewsHasStockNum) {
        this.viewsHasStockNum = viewsHasStockNum;
    }

    public String getValidMonth() {
        return validMonth;
    }

    public void setValidMonth(String validMonth) {
        this.validMonth = validMonth;
    }

    public Integer getIsSale() {
        return isSale;
    }

    public void setIsSale(Integer isSale) {
        this.isSale = isSale;
    }

    public Integer getIsMhj() {
        return isMhj;
    }

    public void setIsMhj(Integer isMhj) {
        this.isMhj = isMhj;
    }

    public Integer getIsFavorite() {
        return IsFavorite;
    }

    public void setIsFavorite(Integer isFavorite) {
        IsFavorite = isFavorite;
    }

    public String getViewPrice() {
        return viewPrice;
    }

    public void setViewPrice(String viewPrice) {
        this.viewPrice = viewPrice;
    }

    public String getBuyerCode() {
        return buyerCode;
    }

    public void setBuyerCode(String buyerCode) {
        this.buyerCode = buyerCode;
    }

    public String getCacheKey() {
        return cacheKey;
    }

    public void setCacheKey(String cacheKey) {
        this.cacheKey = cacheKey;
    }

    public String getSearchFlag() {
        return searchFlag;
    }

    public void setSearchFlag(String searchFlag) {
        this.searchFlag = searchFlag;
    }

    public Integer getIsPromo() {
        return isPromo;
    }

    public void setIsPromo(Integer isPromo) {
        this.isPromo = isPromo;
    }

    @Override
    public String toString() {
        return "EmBProduct [isIndex=" + isIndex + ", isComment=" + isComment + ", isTop=" + isTop + ", isScroll=" + isScroll + ", isCommend=" + isCommend + ", isSale=" + isSale + ", limitRow=" + limitRow + "]";
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public void setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl;
    }

    public Double getTenSalePrice() {
        return tenSalePrice;
    }

    public void setTenSalePrice(Double tenSalePrice) {
        this.tenSalePrice = tenSalePrice;
    }

    public Double getChnSalePrice() {
        return chnSalePrice;
    }

    public void setChnSalePrice(Double chnSalePrice) {
        this.chnSalePrice = chnSalePrice;
    }

    public Double getTrfSalePrice() {
        return trfSalePrice;
    }

    public void setTrfSalePrice(Double trfSalePrice) {
        this.trfSalePrice = trfSalePrice;
    }

	public String getIsXX() {
		return isXX;
	}

	public void setIsXX(String isXX) {
		this.isXX = isXX;
	}

	public String getDenglrq() {
		return denglrq;
	}

	public void setDenglrq(String denglrq) {
		this.denglrq = denglrq;
	}
    
    
}
